A Simple Fluid Solver Based on the FFT
نویسنده
چکیده
This paper presents a very simple implementation of a fluid solver. Our solver is consistent with the equations of fluid flow and produces velocity fields that contain incompressible rotational structures and that dynamically react to user-supplied forces. The solver is specialized for a fluid which wraps around in space. This allows us to take advantage of the Fourier transform which greatly simplifies many aspects of the solver. Indeed, given a Fast Fourier Transform, our solver can be implemented in roughly one page of readable C code. We believe that our solver is a good starting point for anyone interested in coding a basic fluid solver. The fluid solver presented is also useful as a basic motion primitive that can be used for many different applications in computer graphics.
منابع مشابه
A Simple Fluid Solver based on the FFT
This paper presents a very simple implementation of a fluid solver. Our solver is consistent with the equations of fluid flow and produces velocity fields that contain incompressible rotational structures and that dynamically react to user-supplied forces. The solver is specialized for a fluid which wraps around in space. This allows us to take advantage of the Fourier transform which greatly s...
متن کاملAn iterative two-fluid pressure solver based on the immersed interface method
An iterative solver based on the immersed interface method is proposed to solve the pressure in a two-fluid flow on a Cartesian grid. The iteration is constructed by introducing an unsteady term in the pressure Poisson equation. In each iteration step, a Helmholtz equation is solved on the Cartesian grid using FFT. The combination of the iteration and the immersed interface method enables the s...
متن کاملA new solver for the elastic normal contact problem using conjugate gradients, deflation, and an FFT-based preconditioner
This paper presents our new solver BCCG+FAI for solving elastic normal contact problems. This is a comprehensible approach that is based on the Conjugate Gradients (CG) algorithm and that uses FFTs. A first novel aspect is the definition of the “FFT-based Approximate Inverse” preconditioner. The underlying idea is that the inverse matrix can be approximated well using a Toeplitz or block Toepli...
متن کاملA fast spectral/difference method without pole conditions for Poisson-type equations in cylindrical and spherical geometries
A simple and efficient FFT-based fast direct solver for Poisson-type equations on 3D cylindrical and spherical geometries is presented. The solver relies on the truncated Fourier series expansion, where the differential equations of Fourier coefficients are solved using second-order finite difference discretizations without pole conditions. Three different boundary conditions (Dirichlet, Neuman...
متن کاملNumerical simulation of the fluid dynamics in a 3D spherical model of partially liquefied vitreous due to eye movements under planar interface conditions
Partially liquefied vitreous humor is a common physical and biochemical degenerative change in vitreous body which the liquid component gets separated from collagen fiber network and leads to form a region of liquefaction. The main objective of this research is to investigate how the oscillatory motions influence flow dynamics of partial vitreous liquefaction (PVL). So far computational fluid d...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. Graphics, GPU, & Game Tools
دوره 6 شماره
صفحات -
تاریخ انتشار 2001